package com.xiaomi.service.impl;

import com.xiaomi.entity.OrderKauizhao;
import com.xiaomi.mapper.OrderKuaiZhaoMapper;
import com.xiaomi.service.OrderKuaiZhaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName OrderKuaiZhaoImpl
 * @Description TODO
 * @Author WL
 * @Date 2021/12/1 21:39
 * @Version 1.0
 **/
@Service
public class OrderKuaiZhaoImpl implements OrderKuaiZhaoService {
    @Autowired
    private OrderKuaiZhaoMapper orderKuaiZhaoMapper;
    @Override
    public List<OrderKauizhao> listSearch(Integer startRow, Integer limit,Integer orderId) {
        return orderKuaiZhaoMapper.listSearch(startRow,limit,orderId);
    }

    @Override
    public Integer getCount() {
        return orderKuaiZhaoMapper.getCount();
    }
}
